Airwallex\Services\OrderService A

Total Complexity 66
Dependencies 14
Dependents 9
Total lines 488
Lines of code 390
Logical lines of code 154
Comment lines 56
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
paymentCompleteByAuthorize()
A
41 8 55
checkPendingTransactions()
A
47 9 34
getOrderByPaymentIntentId()
A
46 7 47
getRefundByAmountAndTime()
A
41 5 74
getRefundIdByAirwallexRefundId()
S
48 5 41
getOrderByAirwallexRefundId()
S
52 4 27
getPendingPaymentOrdersIds()
S
52 3 31
paymentCompleteByCapture()
S
50 3 28
containsSubscription()
S
77 4 3
getAirwallexCustomerId()
S
64 3 11
getOrderMetaTableName()
S
69 3 7
getOrderIdColumnNameFromMetaTable()
S
71 3 6
setPaymentSuccess()
S
66 3 8
setTemporaryOrderStateAfterDecline()
S
71 2 6
setPendingStatus()
S
71 2 6
setAuthorizedStatus()
S
71 2 6